import request from "@/plugins/axios";
//  列表
export function listApi(data) {
    return request({
        url: "/crm/opportunityGoods/index",
        method: "post",
        data,
    });
}
//  添加 
export function addApi(data) {
    return request({
        url: "/crm/opportunityGoods/create",
        method: "post",
        data,
    });
}
//   修改
export function saveApi(data) {
    return request({
        url: "/crm/opportunityGoods/save",
        method: "post",
        data,
    });
}
// 删除
export function delApi(data) {
    return request({
        url: "/crm/opportunityGoods/delete",
        method: "post",
        data,
    });
}
